package com.sunny.fetch.pojo;

import java.util.ArrayList;
import java.util.List;

public class FPledgeDetailExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public FPledgeDetailExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andTidIsNull() {
            addCriterion("tid is null");
            return (Criteria) this;
        }

        public Criteria andTidIsNotNull() {
            addCriterion("tid is not null");
            return (Criteria) this;
        }

        public Criteria andTidEqualTo(Long value) {
            addCriterion("tid =", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidNotEqualTo(Long value) {
            addCriterion("tid <>", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidGreaterThan(Long value) {
            addCriterion("tid >", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidGreaterThanOrEqualTo(Long value) {
            addCriterion("tid >=", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidLessThan(Long value) {
            addCriterion("tid <", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidLessThanOrEqualTo(Long value) {
            addCriterion("tid <=", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidIn(List<Long> values) {
            addCriterion("tid in", values, "tid");
            return (Criteria) this;
        }

        public Criteria andTidNotIn(List<Long> values) {
            addCriterion("tid not in", values, "tid");
            return (Criteria) this;
        }

        public Criteria andTidBetween(Long value1, Long value2) {
            addCriterion("tid between", value1, value2, "tid");
            return (Criteria) this;
        }

        public Criteria andTidNotBetween(Long value1, Long value2) {
            addCriterion("tid not between", value1, value2, "tid");
            return (Criteria) this;
        }

        public Criteria andTsCodeIsNull() {
            addCriterion("ts_code is null");
            return (Criteria) this;
        }

        public Criteria andTsCodeIsNotNull() {
            addCriterion("ts_code is not null");
            return (Criteria) this;
        }

        public Criteria andTsCodeEqualTo(String value) {
            addCriterion("ts_code =", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeNotEqualTo(String value) {
            addCriterion("ts_code <>", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeGreaterThan(String value) {
            addCriterion("ts_code >", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeGreaterThanOrEqualTo(String value) {
            addCriterion("ts_code >=", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeLessThan(String value) {
            addCriterion("ts_code <", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeLessThanOrEqualTo(String value) {
            addCriterion("ts_code <=", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeLike(String value) {
            addCriterion("ts_code like", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeNotLike(String value) {
            addCriterion("ts_code not like", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeIn(List<String> values) {
            addCriterion("ts_code in", values, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeNotIn(List<String> values) {
            addCriterion("ts_code not in", values, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeBetween(String value1, String value2) {
            addCriterion("ts_code between", value1, value2, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeNotBetween(String value1, String value2) {
            addCriterion("ts_code not between", value1, value2, "tsCode");
            return (Criteria) this;
        }

        public Criteria andAnnDateIsNull() {
            addCriterion("ann_date is null");
            return (Criteria) this;
        }

        public Criteria andAnnDateIsNotNull() {
            addCriterion("ann_date is not null");
            return (Criteria) this;
        }

        public Criteria andAnnDateEqualTo(String value) {
            addCriterion("ann_date =", value, "annDate");
            return (Criteria) this;
        }

        public Criteria andAnnDateNotEqualTo(String value) {
            addCriterion("ann_date <>", value, "annDate");
            return (Criteria) this;
        }

        public Criteria andAnnDateGreaterThan(String value) {
            addCriterion("ann_date >", value, "annDate");
            return (Criteria) this;
        }

        public Criteria andAnnDateGreaterThanOrEqualTo(String value) {
            addCriterion("ann_date >=", value, "annDate");
            return (Criteria) this;
        }

        public Criteria andAnnDateLessThan(String value) {
            addCriterion("ann_date <", value, "annDate");
            return (Criteria) this;
        }

        public Criteria andAnnDateLessThanOrEqualTo(String value) {
            addCriterion("ann_date <=", value, "annDate");
            return (Criteria) this;
        }

        public Criteria andAnnDateLike(String value) {
            addCriterion("ann_date like", value, "annDate");
            return (Criteria) this;
        }

        public Criteria andAnnDateNotLike(String value) {
            addCriterion("ann_date not like", value, "annDate");
            return (Criteria) this;
        }

        public Criteria andAnnDateIn(List<String> values) {
            addCriterion("ann_date in", values, "annDate");
            return (Criteria) this;
        }

        public Criteria andAnnDateNotIn(List<String> values) {
            addCriterion("ann_date not in", values, "annDate");
            return (Criteria) this;
        }

        public Criteria andAnnDateBetween(String value1, String value2) {
            addCriterion("ann_date between", value1, value2, "annDate");
            return (Criteria) this;
        }

        public Criteria andAnnDateNotBetween(String value1, String value2) {
            addCriterion("ann_date not between", value1, value2, "annDate");
            return (Criteria) this;
        }

        public Criteria andHolderNameIsNull() {
            addCriterion("holder_name is null");
            return (Criteria) this;
        }

        public Criteria andHolderNameIsNotNull() {
            addCriterion("holder_name is not null");
            return (Criteria) this;
        }

        public Criteria andHolderNameEqualTo(String value) {
            addCriterion("holder_name =", value, "holderName");
            return (Criteria) this;
        }

        public Criteria andHolderNameNotEqualTo(String value) {
            addCriterion("holder_name <>", value, "holderName");
            return (Criteria) this;
        }

        public Criteria andHolderNameGreaterThan(String value) {
            addCriterion("holder_name >", value, "holderName");
            return (Criteria) this;
        }

        public Criteria andHolderNameGreaterThanOrEqualTo(String value) {
            addCriterion("holder_name >=", value, "holderName");
            return (Criteria) this;
        }

        public Criteria andHolderNameLessThan(String value) {
            addCriterion("holder_name <", value, "holderName");
            return (Criteria) this;
        }

        public Criteria andHolderNameLessThanOrEqualTo(String value) {
            addCriterion("holder_name <=", value, "holderName");
            return (Criteria) this;
        }

        public Criteria andHolderNameLike(String value) {
            addCriterion("holder_name like", value, "holderName");
            return (Criteria) this;
        }

        public Criteria andHolderNameNotLike(String value) {
            addCriterion("holder_name not like", value, "holderName");
            return (Criteria) this;
        }

        public Criteria andHolderNameIn(List<String> values) {
            addCriterion("holder_name in", values, "holderName");
            return (Criteria) this;
        }

        public Criteria andHolderNameNotIn(List<String> values) {
            addCriterion("holder_name not in", values, "holderName");
            return (Criteria) this;
        }

        public Criteria andHolderNameBetween(String value1, String value2) {
            addCriterion("holder_name between", value1, value2, "holderName");
            return (Criteria) this;
        }

        public Criteria andHolderNameNotBetween(String value1, String value2) {
            addCriterion("holder_name not between", value1, value2, "holderName");
            return (Criteria) this;
        }

        public Criteria andPledgeAmountIsNull() {
            addCriterion("pledge_amount is null");
            return (Criteria) this;
        }

        public Criteria andPledgeAmountIsNotNull() {
            addCriterion("pledge_amount is not null");
            return (Criteria) this;
        }

        public Criteria andPledgeAmountEqualTo(Float value) {
            addCriterion("pledge_amount =", value, "pledgeAmount");
            return (Criteria) this;
        }

        public Criteria andPledgeAmountNotEqualTo(Float value) {
            addCriterion("pledge_amount <>", value, "pledgeAmount");
            return (Criteria) this;
        }

        public Criteria andPledgeAmountGreaterThan(Float value) {
            addCriterion("pledge_amount >", value, "pledgeAmount");
            return (Criteria) this;
        }

        public Criteria andPledgeAmountGreaterThanOrEqualTo(Float value) {
            addCriterion("pledge_amount >=", value, "pledgeAmount");
            return (Criteria) this;
        }

        public Criteria andPledgeAmountLessThan(Float value) {
            addCriterion("pledge_amount <", value, "pledgeAmount");
            return (Criteria) this;
        }

        public Criteria andPledgeAmountLessThanOrEqualTo(Float value) {
            addCriterion("pledge_amount <=", value, "pledgeAmount");
            return (Criteria) this;
        }

        public Criteria andPledgeAmountIn(List<Float> values) {
            addCriterion("pledge_amount in", values, "pledgeAmount");
            return (Criteria) this;
        }

        public Criteria andPledgeAmountNotIn(List<Float> values) {
            addCriterion("pledge_amount not in", values, "pledgeAmount");
            return (Criteria) this;
        }

        public Criteria andPledgeAmountBetween(Float value1, Float value2) {
            addCriterion("pledge_amount between", value1, value2, "pledgeAmount");
            return (Criteria) this;
        }

        public Criteria andPledgeAmountNotBetween(Float value1, Float value2) {
            addCriterion("pledge_amount not between", value1, value2, "pledgeAmount");
            return (Criteria) this;
        }

        public Criteria andStartDateIsNull() {
            addCriterion("start_date is null");
            return (Criteria) this;
        }

        public Criteria andStartDateIsNotNull() {
            addCriterion("start_date is not null");
            return (Criteria) this;
        }

        public Criteria andStartDateEqualTo(String value) {
            addCriterion("start_date =", value, "startDate");
            return (Criteria) this;
        }

        public Criteria andStartDateNotEqualTo(String value) {
            addCriterion("start_date <>", value, "startDate");
            return (Criteria) this;
        }

        public Criteria andStartDateGreaterThan(String value) {
            addCriterion("start_date >", value, "startDate");
            return (Criteria) this;
        }

        public Criteria andStartDateGreaterThanOrEqualTo(String value) {
            addCriterion("start_date >=", value, "startDate");
            return (Criteria) this;
        }

        public Criteria andStartDateLessThan(String value) {
            addCriterion("start_date <", value, "startDate");
            return (Criteria) this;
        }

        public Criteria andStartDateLessThanOrEqualTo(String value) {
            addCriterion("start_date <=", value, "startDate");
            return (Criteria) this;
        }

        public Criteria andStartDateLike(String value) {
            addCriterion("start_date like", value, "startDate");
            return (Criteria) this;
        }

        public Criteria andStartDateNotLike(String value) {
            addCriterion("start_date not like", value, "startDate");
            return (Criteria) this;
        }

        public Criteria andStartDateIn(List<String> values) {
            addCriterion("start_date in", values, "startDate");
            return (Criteria) this;
        }

        public Criteria andStartDateNotIn(List<String> values) {
            addCriterion("start_date not in", values, "startDate");
            return (Criteria) this;
        }

        public Criteria andStartDateBetween(String value1, String value2) {
            addCriterion("start_date between", value1, value2, "startDate");
            return (Criteria) this;
        }

        public Criteria andStartDateNotBetween(String value1, String value2) {
            addCriterion("start_date not between", value1, value2, "startDate");
            return (Criteria) this;
        }

        public Criteria andEndDateIsNull() {
            addCriterion("end_date is null");
            return (Criteria) this;
        }

        public Criteria andEndDateIsNotNull() {
            addCriterion("end_date is not null");
            return (Criteria) this;
        }

        public Criteria andEndDateEqualTo(String value) {
            addCriterion("end_date =", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateNotEqualTo(String value) {
            addCriterion("end_date <>", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateGreaterThan(String value) {
            addCriterion("end_date >", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateGreaterThanOrEqualTo(String value) {
            addCriterion("end_date >=", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateLessThan(String value) {
            addCriterion("end_date <", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateLessThanOrEqualTo(String value) {
            addCriterion("end_date <=", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateLike(String value) {
            addCriterion("end_date like", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateNotLike(String value) {
            addCriterion("end_date not like", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateIn(List<String> values) {
            addCriterion("end_date in", values, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateNotIn(List<String> values) {
            addCriterion("end_date not in", values, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateBetween(String value1, String value2) {
            addCriterion("end_date between", value1, value2, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateNotBetween(String value1, String value2) {
            addCriterion("end_date not between", value1, value2, "endDate");
            return (Criteria) this;
        }

        public Criteria andIsReleaseIsNull() {
            addCriterion("is_release is null");
            return (Criteria) this;
        }

        public Criteria andIsReleaseIsNotNull() {
            addCriterion("is_release is not null");
            return (Criteria) this;
        }

        public Criteria andIsReleaseEqualTo(String value) {
            addCriterion("is_release =", value, "isRelease");
            return (Criteria) this;
        }

        public Criteria andIsReleaseNotEqualTo(String value) {
            addCriterion("is_release <>", value, "isRelease");
            return (Criteria) this;
        }

        public Criteria andIsReleaseGreaterThan(String value) {
            addCriterion("is_release >", value, "isRelease");
            return (Criteria) this;
        }

        public Criteria andIsReleaseGreaterThanOrEqualTo(String value) {
            addCriterion("is_release >=", value, "isRelease");
            return (Criteria) this;
        }

        public Criteria andIsReleaseLessThan(String value) {
            addCriterion("is_release <", value, "isRelease");
            return (Criteria) this;
        }

        public Criteria andIsReleaseLessThanOrEqualTo(String value) {
            addCriterion("is_release <=", value, "isRelease");
            return (Criteria) this;
        }

        public Criteria andIsReleaseLike(String value) {
            addCriterion("is_release like", value, "isRelease");
            return (Criteria) this;
        }

        public Criteria andIsReleaseNotLike(String value) {
            addCriterion("is_release not like", value, "isRelease");
            return (Criteria) this;
        }

        public Criteria andIsReleaseIn(List<String> values) {
            addCriterion("is_release in", values, "isRelease");
            return (Criteria) this;
        }

        public Criteria andIsReleaseNotIn(List<String> values) {
            addCriterion("is_release not in", values, "isRelease");
            return (Criteria) this;
        }

        public Criteria andIsReleaseBetween(String value1, String value2) {
            addCriterion("is_release between", value1, value2, "isRelease");
            return (Criteria) this;
        }

        public Criteria andIsReleaseNotBetween(String value1, String value2) {
            addCriterion("is_release not between", value1, value2, "isRelease");
            return (Criteria) this;
        }

        public Criteria andReleaseDateIsNull() {
            addCriterion("release_date is null");
            return (Criteria) this;
        }

        public Criteria andReleaseDateIsNotNull() {
            addCriterion("release_date is not null");
            return (Criteria) this;
        }

        public Criteria andReleaseDateEqualTo(String value) {
            addCriterion("release_date =", value, "releaseDate");
            return (Criteria) this;
        }

        public Criteria andReleaseDateNotEqualTo(String value) {
            addCriterion("release_date <>", value, "releaseDate");
            return (Criteria) this;
        }

        public Criteria andReleaseDateGreaterThan(String value) {
            addCriterion("release_date >", value, "releaseDate");
            return (Criteria) this;
        }

        public Criteria andReleaseDateGreaterThanOrEqualTo(String value) {
            addCriterion("release_date >=", value, "releaseDate");
            return (Criteria) this;
        }

        public Criteria andReleaseDateLessThan(String value) {
            addCriterion("release_date <", value, "releaseDate");
            return (Criteria) this;
        }

        public Criteria andReleaseDateLessThanOrEqualTo(String value) {
            addCriterion("release_date <=", value, "releaseDate");
            return (Criteria) this;
        }

        public Criteria andReleaseDateLike(String value) {
            addCriterion("release_date like", value, "releaseDate");
            return (Criteria) this;
        }

        public Criteria andReleaseDateNotLike(String value) {
            addCriterion("release_date not like", value, "releaseDate");
            return (Criteria) this;
        }

        public Criteria andReleaseDateIn(List<String> values) {
            addCriterion("release_date in", values, "releaseDate");
            return (Criteria) this;
        }

        public Criteria andReleaseDateNotIn(List<String> values) {
            addCriterion("release_date not in", values, "releaseDate");
            return (Criteria) this;
        }

        public Criteria andReleaseDateBetween(String value1, String value2) {
            addCriterion("release_date between", value1, value2, "releaseDate");
            return (Criteria) this;
        }

        public Criteria andReleaseDateNotBetween(String value1, String value2) {
            addCriterion("release_date not between", value1, value2, "releaseDate");
            return (Criteria) this;
        }

        public Criteria andPledgorIsNull() {
            addCriterion("pledgor is null");
            return (Criteria) this;
        }

        public Criteria andPledgorIsNotNull() {
            addCriterion("pledgor is not null");
            return (Criteria) this;
        }

        public Criteria andPledgorEqualTo(String value) {
            addCriterion("pledgor =", value, "pledgor");
            return (Criteria) this;
        }

        public Criteria andPledgorNotEqualTo(String value) {
            addCriterion("pledgor <>", value, "pledgor");
            return (Criteria) this;
        }

        public Criteria andPledgorGreaterThan(String value) {
            addCriterion("pledgor >", value, "pledgor");
            return (Criteria) this;
        }

        public Criteria andPledgorGreaterThanOrEqualTo(String value) {
            addCriterion("pledgor >=", value, "pledgor");
            return (Criteria) this;
        }

        public Criteria andPledgorLessThan(String value) {
            addCriterion("pledgor <", value, "pledgor");
            return (Criteria) this;
        }

        public Criteria andPledgorLessThanOrEqualTo(String value) {
            addCriterion("pledgor <=", value, "pledgor");
            return (Criteria) this;
        }

        public Criteria andPledgorLike(String value) {
            addCriterion("pledgor like", value, "pledgor");
            return (Criteria) this;
        }

        public Criteria andPledgorNotLike(String value) {
            addCriterion("pledgor not like", value, "pledgor");
            return (Criteria) this;
        }

        public Criteria andPledgorIn(List<String> values) {
            addCriterion("pledgor in", values, "pledgor");
            return (Criteria) this;
        }

        public Criteria andPledgorNotIn(List<String> values) {
            addCriterion("pledgor not in", values, "pledgor");
            return (Criteria) this;
        }

        public Criteria andPledgorBetween(String value1, String value2) {
            addCriterion("pledgor between", value1, value2, "pledgor");
            return (Criteria) this;
        }

        public Criteria andPledgorNotBetween(String value1, String value2) {
            addCriterion("pledgor not between", value1, value2, "pledgor");
            return (Criteria) this;
        }

        public Criteria andHoldingAmountIsNull() {
            addCriterion("holding_amount is null");
            return (Criteria) this;
        }

        public Criteria andHoldingAmountIsNotNull() {
            addCriterion("holding_amount is not null");
            return (Criteria) this;
        }

        public Criteria andHoldingAmountEqualTo(Float value) {
            addCriterion("holding_amount =", value, "holdingAmount");
            return (Criteria) this;
        }

        public Criteria andHoldingAmountNotEqualTo(Float value) {
            addCriterion("holding_amount <>", value, "holdingAmount");
            return (Criteria) this;
        }

        public Criteria andHoldingAmountGreaterThan(Float value) {
            addCriterion("holding_amount >", value, "holdingAmount");
            return (Criteria) this;
        }

        public Criteria andHoldingAmountGreaterThanOrEqualTo(Float value) {
            addCriterion("holding_amount >=", value, "holdingAmount");
            return (Criteria) this;
        }

        public Criteria andHoldingAmountLessThan(Float value) {
            addCriterion("holding_amount <", value, "holdingAmount");
            return (Criteria) this;
        }

        public Criteria andHoldingAmountLessThanOrEqualTo(Float value) {
            addCriterion("holding_amount <=", value, "holdingAmount");
            return (Criteria) this;
        }

        public Criteria andHoldingAmountIn(List<Float> values) {
            addCriterion("holding_amount in", values, "holdingAmount");
            return (Criteria) this;
        }

        public Criteria andHoldingAmountNotIn(List<Float> values) {
            addCriterion("holding_amount not in", values, "holdingAmount");
            return (Criteria) this;
        }

        public Criteria andHoldingAmountBetween(Float value1, Float value2) {
            addCriterion("holding_amount between", value1, value2, "holdingAmount");
            return (Criteria) this;
        }

        public Criteria andHoldingAmountNotBetween(Float value1, Float value2) {
            addCriterion("holding_amount not between", value1, value2, "holdingAmount");
            return (Criteria) this;
        }

        public Criteria andPledgedAmountIsNull() {
            addCriterion("pledged_amount is null");
            return (Criteria) this;
        }

        public Criteria andPledgedAmountIsNotNull() {
            addCriterion("pledged_amount is not null");
            return (Criteria) this;
        }

        public Criteria andPledgedAmountEqualTo(Float value) {
            addCriterion("pledged_amount =", value, "pledgedAmount");
            return (Criteria) this;
        }

        public Criteria andPledgedAmountNotEqualTo(Float value) {
            addCriterion("pledged_amount <>", value, "pledgedAmount");
            return (Criteria) this;
        }

        public Criteria andPledgedAmountGreaterThan(Float value) {
            addCriterion("pledged_amount >", value, "pledgedAmount");
            return (Criteria) this;
        }

        public Criteria andPledgedAmountGreaterThanOrEqualTo(Float value) {
            addCriterion("pledged_amount >=", value, "pledgedAmount");
            return (Criteria) this;
        }

        public Criteria andPledgedAmountLessThan(Float value) {
            addCriterion("pledged_amount <", value, "pledgedAmount");
            return (Criteria) this;
        }

        public Criteria andPledgedAmountLessThanOrEqualTo(Float value) {
            addCriterion("pledged_amount <=", value, "pledgedAmount");
            return (Criteria) this;
        }

        public Criteria andPledgedAmountIn(List<Float> values) {
            addCriterion("pledged_amount in", values, "pledgedAmount");
            return (Criteria) this;
        }

        public Criteria andPledgedAmountNotIn(List<Float> values) {
            addCriterion("pledged_amount not in", values, "pledgedAmount");
            return (Criteria) this;
        }

        public Criteria andPledgedAmountBetween(Float value1, Float value2) {
            addCriterion("pledged_amount between", value1, value2, "pledgedAmount");
            return (Criteria) this;
        }

        public Criteria andPledgedAmountNotBetween(Float value1, Float value2) {
            addCriterion("pledged_amount not between", value1, value2, "pledgedAmount");
            return (Criteria) this;
        }

        public Criteria andPTotalRatioIsNull() {
            addCriterion("p_total_ratio is null");
            return (Criteria) this;
        }

        public Criteria andPTotalRatioIsNotNull() {
            addCriterion("p_total_ratio is not null");
            return (Criteria) this;
        }

        public Criteria andPTotalRatioEqualTo(Float value) {
            addCriterion("p_total_ratio =", value, "pTotalRatio");
            return (Criteria) this;
        }

        public Criteria andPTotalRatioNotEqualTo(Float value) {
            addCriterion("p_total_ratio <>", value, "pTotalRatio");
            return (Criteria) this;
        }

        public Criteria andPTotalRatioGreaterThan(Float value) {
            addCriterion("p_total_ratio >", value, "pTotalRatio");
            return (Criteria) this;
        }

        public Criteria andPTotalRatioGreaterThanOrEqualTo(Float value) {
            addCriterion("p_total_ratio >=", value, "pTotalRatio");
            return (Criteria) this;
        }

        public Criteria andPTotalRatioLessThan(Float value) {
            addCriterion("p_total_ratio <", value, "pTotalRatio");
            return (Criteria) this;
        }

        public Criteria andPTotalRatioLessThanOrEqualTo(Float value) {
            addCriterion("p_total_ratio <=", value, "pTotalRatio");
            return (Criteria) this;
        }

        public Criteria andPTotalRatioIn(List<Float> values) {
            addCriterion("p_total_ratio in", values, "pTotalRatio");
            return (Criteria) this;
        }

        public Criteria andPTotalRatioNotIn(List<Float> values) {
            addCriterion("p_total_ratio not in", values, "pTotalRatio");
            return (Criteria) this;
        }

        public Criteria andPTotalRatioBetween(Float value1, Float value2) {
            addCriterion("p_total_ratio between", value1, value2, "pTotalRatio");
            return (Criteria) this;
        }

        public Criteria andPTotalRatioNotBetween(Float value1, Float value2) {
            addCriterion("p_total_ratio not between", value1, value2, "pTotalRatio");
            return (Criteria) this;
        }

        public Criteria andHTotalRatioIsNull() {
            addCriterion("h_total_ratio is null");
            return (Criteria) this;
        }

        public Criteria andHTotalRatioIsNotNull() {
            addCriterion("h_total_ratio is not null");
            return (Criteria) this;
        }

        public Criteria andHTotalRatioEqualTo(Float value) {
            addCriterion("h_total_ratio =", value, "hTotalRatio");
            return (Criteria) this;
        }

        public Criteria andHTotalRatioNotEqualTo(Float value) {
            addCriterion("h_total_ratio <>", value, "hTotalRatio");
            return (Criteria) this;
        }

        public Criteria andHTotalRatioGreaterThan(Float value) {
            addCriterion("h_total_ratio >", value, "hTotalRatio");
            return (Criteria) this;
        }

        public Criteria andHTotalRatioGreaterThanOrEqualTo(Float value) {
            addCriterion("h_total_ratio >=", value, "hTotalRatio");
            return (Criteria) this;
        }

        public Criteria andHTotalRatioLessThan(Float value) {
            addCriterion("h_total_ratio <", value, "hTotalRatio");
            return (Criteria) this;
        }

        public Criteria andHTotalRatioLessThanOrEqualTo(Float value) {
            addCriterion("h_total_ratio <=", value, "hTotalRatio");
            return (Criteria) this;
        }

        public Criteria andHTotalRatioIn(List<Float> values) {
            addCriterion("h_total_ratio in", values, "hTotalRatio");
            return (Criteria) this;
        }

        public Criteria andHTotalRatioNotIn(List<Float> values) {
            addCriterion("h_total_ratio not in", values, "hTotalRatio");
            return (Criteria) this;
        }

        public Criteria andHTotalRatioBetween(Float value1, Float value2) {
            addCriterion("h_total_ratio between", value1, value2, "hTotalRatio");
            return (Criteria) this;
        }

        public Criteria andHTotalRatioNotBetween(Float value1, Float value2) {
            addCriterion("h_total_ratio not between", value1, value2, "hTotalRatio");
            return (Criteria) this;
        }

        public Criteria andIsBuybackIsNull() {
            addCriterion("is_buyback is null");
            return (Criteria) this;
        }

        public Criteria andIsBuybackIsNotNull() {
            addCriterion("is_buyback is not null");
            return (Criteria) this;
        }

        public Criteria andIsBuybackEqualTo(String value) {
            addCriterion("is_buyback =", value, "isBuyback");
            return (Criteria) this;
        }

        public Criteria andIsBuybackNotEqualTo(String value) {
            addCriterion("is_buyback <>", value, "isBuyback");
            return (Criteria) this;
        }

        public Criteria andIsBuybackGreaterThan(String value) {
            addCriterion("is_buyback >", value, "isBuyback");
            return (Criteria) this;
        }

        public Criteria andIsBuybackGreaterThanOrEqualTo(String value) {
            addCriterion("is_buyback >=", value, "isBuyback");
            return (Criteria) this;
        }

        public Criteria andIsBuybackLessThan(String value) {
            addCriterion("is_buyback <", value, "isBuyback");
            return (Criteria) this;
        }

        public Criteria andIsBuybackLessThanOrEqualTo(String value) {
            addCriterion("is_buyback <=", value, "isBuyback");
            return (Criteria) this;
        }

        public Criteria andIsBuybackLike(String value) {
            addCriterion("is_buyback like", value, "isBuyback");
            return (Criteria) this;
        }

        public Criteria andIsBuybackNotLike(String value) {
            addCriterion("is_buyback not like", value, "isBuyback");
            return (Criteria) this;
        }

        public Criteria andIsBuybackIn(List<String> values) {
            addCriterion("is_buyback in", values, "isBuyback");
            return (Criteria) this;
        }

        public Criteria andIsBuybackNotIn(List<String> values) {
            addCriterion("is_buyback not in", values, "isBuyback");
            return (Criteria) this;
        }

        public Criteria andIsBuybackBetween(String value1, String value2) {
            addCriterion("is_buyback between", value1, value2, "isBuyback");
            return (Criteria) this;
        }

        public Criteria andIsBuybackNotBetween(String value1, String value2) {
            addCriterion("is_buyback not between", value1, value2, "isBuyback");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}